﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductMonitor.Models
{
    public class StuffOutWporkModel
    {
        public string StuffName { get; set; } // 零件名称
       
        public string Position { get; set; } // 零件编码

        public int OutWorkCount { get; set; } // 零件数量

        public int ShowWidt
        {
            get
            {
                return OutWorkCount *10 / 100; // 显示宽度计算，假设每个零件占50像素
            }

        }
    }
}
